<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'SSQ/css/SSQ_history_data.css' %}">
<head>
    <title>双色球历史数据</title>
</head>
<body>
<!--滚动标题-->
<div style="width: 100%;height: 5em; color: #1c7430">
    <marquee class="noticeText ng-binding" direction="left" behavior="alternate" scrollamount="10" width="100%"
             onmouseover="this.stop();" onmouseout="this.start();" ><h1 style="color: red">
       {{ bonus_info }}</h1>
    </marquee>
</div>

<hr>

<!--显示历史中奖数据-->
<div class="container">
    <header>
        <a href="">
            <h4 class="logo">双色球历史数据</h4>
        </a>
        <nav>
            <ul>
                <li><a href="/">主页</a></li>
                {#                <li><a href="/DLT/history_data">历史开奖数据</a></li>#}
                <li><a href="/SSQ/check_bonus">中奖查询</a></li>
                <li><a href="/SSQ/note">投注</a></li>
            </ul>
        </nav>
    </header>
    <table> <!------------把border赋值为0，这个表格没有边框-->
        <tr>
            <th>期数</th>
            <th>日期</th>
            <th>红球1</th>
            <th>红球2</th>
            <th>红球3</th>
            <th>红球4</th>
            <th>红球5</th>
            <th>红球6</th>
            <th>蓝球</th>
            <th>一等奖注数</th>
            <th>一等奖金额</th>
            <th>二等奖注数</th>
            <th>二等奖金额</th>
            <th>奖池</th>
        </tr>

        {% for lott in lottery %}
            <tr>
                <td>{{ lott.phasenum }}</td>
                <td>{{ lott.date }}</td>
                <td class="red">{{ lott.red1 }}</td>
                <td class="red">{{ lott.red2 }}</td>
                <td class="red">{{ lott.red3 }}</td>
                <td class="red">{{ lott.red4 }}</td>
                <td class="red">{{ lott.red5 }}</td>
                <td class="red">{{ lott.red6 }}</td>
                <td class="blue">{{ lott.blue }}</td>
                <td>{{ lott.firstnum }}</td>
                <td>{{ lott.firstprice }}</td>
                <td>{{ lott.secondnum }}</td>
                <td>{{ lott.secondprice }}</td>
                <td>{{ lott.totalbet }}</td>
            </tr>
        {% endfor %}

    </table>


</div>
</body>
</html>